package com.winshare.saleAssistant.service;

import com.winshare.saleAssistant.domain.entity.StaffDO;
import com.winshare.saleAssistant.domain.entity.SysParamDO;
import org.springframework.stereotype.Service;

@Service
public interface RedisService {

    void putCaptchaCode(String captchaId, String captchaCode);

    String getCaptchaCode(String phone);

    void expireCaptchaCode(String phone);

    void setCurrentUserInfo(String token, StaffDO staffDO, Integer timeOutTime);

    StaffDO getCurrentUserInfo(String token);

    void tokenExpireTimeUpdate(String token, Integer timeOut);

    void saveSysParam(SysParamDO sysParamDO);


}
